import { getAction, postAction } from '@/api/manage'
const baseURL  = window._CONFIG['domianURL']  || '/jeecg-boot'
const gateway = '/api/gateway/jic-backend-activity/monitor/link/'
export const downTemplate = baseURL + gateway + 'export'
export const importStoreInventory = baseURL + gateway + 'import'
export const downErrorStore = baseURL + gateway + 'errorTemplate?groupId='

export const getChannelList = params => postAction(`${gateway}page`,params)
export const addChannel =  params => postAction(`${gateway}add`,params)
export const deleteChannel = params => getAction(`${gateway}delete`, params)
export const queryCode = params => getAction(`${gateway}promote`, params)

